/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 涛
 * Date: 2023-09-22
 * Time: 23:11
 */
public class CheckArray {
    SeqList seqList = new SeqList();
    int len = seqList.getSize();

    public CheckArray() throws CloneNotSupportedException {
    }

    public int checkArray() {
        if(len < 0 || len > seqList.getArraySize()) {
            //数组下标异常
            return 0;
        }
        return 1;
    }
}
